package com.example.carRental.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.carRental.entity.Car;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 92307
 * @version 1.0
 * @time 2022/3/24
 * @Describe describe
 */
@Mapper
public interface CarMapper extends BaseMapper<Car> {
    List<Car> getCarByCId(Integer chartererId);
    List<Car> getAllCar();
    List<String> getPictures(Integer CarId);
    Integer getChartererIdById(Integer carId);
    void setCarType(Integer carId);
    Integer getPriceByCarId(Integer carId);
}
